﻿@model  IEnumerable<Forest.Cat.Web.Models.Catalog.JobPositionModel>
<table border="0" cellspacing="0" cellpadding="0">
    <tr class="gj_zxlt_biaotou">
        <td style="width:300px;">
            职位名称
        </td>
        <td style="width:420px;">
            公司名称
        </td>
        <td style="width:100px;">
            工作地点
        </td>
        <td style="width:100px;">
            发布日期
        </td>
    </tr>
    @foreach (var job in Model) {
        <tr>
            <td>@Html.ActionLink(job.JobTitle, "JobView", "Catalog", new { id = job.Id }, new { target = "_blank" })
            </td>
            <td >
                @Html.ActionLink(job.CompanyModel.CompanyName, "CompanyView", "Company", new { id = job.CompanyModel.Id }, new { target = "_blank" })
            </td>
            <td>
                @job.CityName @(!String.IsNullOrWhiteSpace(job.DistrictName) ? " - " + job.DistrictName : String.Empty)
            </td>
            <td>
                [@job.StartDate.Value.ToString("yyyy-MM-dd"))]
            </td>
        </tr>
    }
</table>
